/**
 * Created by gongxun on 17/1/18.
 */

var PszRoundEndedEventzjh = function(){
    var that = new GameResponseBase();

    that.handle = function (binary, msgid) {
        that.loadMessage(binary, msgid);

        that.handleMsg(that.msg);
    };

    that.handleMsg = function(msg){
        that.msg = msg;

        //记录打了多少盘
        mo.pszTable.mPlayGameCount++;

        //是否是断线重练收到的
        if (mo.pszTableStatus.isReconnect){
            //结算界面
            mo.pszTable.mPszTableUILayer.mPszTableEndLayer.setEndInfo(this.msg, 0);
        }else{
            mo.pszTable.setJuesaunInfo(that.msg);
        }

    };

    return that;
};